package com.example.demo.model;

import com.example.demo.utils.DateTime;
import lombok.Data;

import java.sql.Date;


@Data
public class BlogInfo {
    private int id;
    private String title;
    private String content;
    private int userId;
    private int delete_flag;
    private Date createTime;
    private Date update_time;

    public String getCreateTime() {
       return DateTime.format(createTime);
    }
}